
* {
    margin: 0px;
    padding: 0px;
    font-family: "微软雅黑";
}

body {
    display: flex;
    flex-direction: row;
}

.sidebar
{
    width: 60px;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
    transition: 0.5s;
    
}

.sidebar:hover
{
    width: 300px;
}

.sidebar ul
{
    position: relative;
    height: 80vh;
}

.sidebar ul li
{
    list-style: none;
}

.sidebar ul li:hover
{
    background-color: #f3f3f3;
}

.sidebar ul li a
{
    position: relative;
    display: flex;
    white-space: nowrap;
    text-decoration: none;
}

.sidebar ul li a .icon
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 60px;
    font-size: 1.5em;
    color: #333;
}

.sidebar ul li a .text
{
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar ul li.logo
{
    margin-bottom: 50px;
}

.sidebar ul li.logo:hover
{
    background-color: #fff;
}

.sidebar ul li.logo .icon
{
    font-size: 2em;
}

.sidebar ul li.logo .text
{
    font-size: 1.2em;
    font-weight: 500;
}

.bottom
{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.bottom .imgBx
{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.bottom .imgBx img
{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header {
    background-color: #ff1;
    position: relative;
    border-bottom: 1px  #000;
    height: 40px;
    /*top: -10;*/
}

.header ul {
    float: right;
    list-style: none;
    margin: 15px;
}

.header li {
    display: inline-block;
}

.header li a {
    text-decoration: none;
    color: #fff;
    padding: 5px 20px;
    border: 1px solid transparent;
    transition: .6s ease;
    border-radius: 20px;
}

.header li a:hover{
    background-color: #fff;
    color: #000;
}

.header li.now a {
    background-color: #fff;
    color: #000;
}

.shell {
    width: 100%;
    position: relative;
    padding: 80px 0;
    background-attachment: fixed;
    background-size: cover;
}

.shell:before {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 99, 99, 0.8);
    content: "";
}

.header {
    width: 100%;
    text-align: center;
    position: relative;
}



.title {
    position: relative;
    left: 20px;
    color: #ff1a1a;
    font-size: 46px;
    font-weight: normal;
    margin: 0;
}

.subtitle {
    position: relative;
    left: 20px;
    color: #ff1a1a;
    font-size: 16px;
    letter-spacing: 5px;
    margin: 10px 0 0 0;
    font-weight: normal;
}


.timeline {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 700px;
    position: relative;
}

.content-title {
    font-weight: normal;
    font-size: 66px;
    margin: -10px 0 0 0;
    transition: 0.4s;
    padding: 0 10px;
    box-sizing: border-box;
    color: #ff1;
}

.content-desc {
    margin: 0;
    font-size: 15px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.7);
    line-height: 25px;
}

.timeline:before {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    content: "";
    background: rgba(255, 255, 255, 0.07);
}

.item {
    padding: 40px 0;
    opacity: 0.3;
    filter: blur(2px);
    transition: 0.5s;
    box-sizing: border-box;
    width: calc(70% - 40px);
    position: relative;
    transform: translateY(-80px);

}

.item:before {
    /* 设置在伪元素before中的内容  */
    content: attr(data-text);
    letter-spacing: 3px;
    width: 100%;
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    top: 70%;
    margin-top: -5px;
    padding-left: 15px;
    opacity: 0;
    right: calc(-100% - 56px);
    font: 900 20px '';
    letter-spacing: 5px;
}

.item:nth-child(even) {
    align-self: flex-end;
}

.item:nth-child(even):before {
    right: auto;
    text-align: right;
    left: calc(-100% - 80px);
    padding-left: 0;
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    padding-right: 15px;
}

.item--active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.item--active:before {
    top: 50%;
    transition: 0.3s all 0.2s;
    opacity: 1;
}

.item--active .content-title {
    margin: -50px 0 20px 0;
}

.img {

    max-width: 100%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}


.footer {
    padding: 95px 0;
    display: flex;
    text-align: center;
    justify-content: center;
    background-image: url("./static/image/homeImages/footer.jpg");
}

.footer a{
    display: block;
    height: 36px;
    font: 900 20px '';
    background-color: #ffff11;
    padding: 12px;
    border-radius: 10px;
    letter-spacing: 3px;
    color: rgb(255, 255, 134, 2);
    text-align: center;
    justify-content: center;
    text-decoration: none;
}

.footer a:hover{
    background-color: rgb(255, 255, 255, 0.5);
    transition: .3s;
}


@media only screen and (max-width: 767px) {
    .item {
        align-self: baseline !important;
        width: 100%;
        padding: 0 30px 150px 80px;
    }

    .item:before {
        left: 10px !important;
        padding: 0 !important;
        top: 50px;
        text-align: center !important;
        width: 60px;
        border: none !important;
    }

    .item:last-child {
        padding-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .timeline:before {
        left: 40px;
    }
}
